package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.dto.WarehouseDTO;
import com.itheima.pojo.Warehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WarehouseMapper extends BaseMapper<Warehouse> {
    Page<WarehouseDTO> selectWarehousePage(Page<WarehouseDTO> page, @Param("dto") WarehouseDTO dto);

    Warehouse selectByIdWithDel(@Param("id") Integer id);
}